package cn.learn.fegin;

import feign.hystrix.FallbackFactory;

/**
 * @author huangyezhan
 * @version 1.0
 * @date 2021年04月27日15:42
 */
public class RemoteServiceFallbackFactory implements FallbackFactory<RemoteService> {

    @Override
    public RemoteService create(Throwable throwable) {
        new RemoteService(){
            @Override
            public RestResponse<String> doublyCreateWorkflow(DoublyStochastic doublyStochastic) {
                System.out.println("===================================");
                return null;
            }

        };
        return null;
    }

}
